package com.why.cachecloud.service.alert.impl;

import com.why.cachecloud.dao.WarnLogDao;
import com.why.cachecloud.service.alert.WarnLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.time.LocalDateTime;

@Service
public class WarnLogServiceImpl implements WarnLogService {

    @Resource
    private WarnLogDao warnLogDao;

    @Override
    public int countBy(long appId, String warnType, LocalDateTime dateTime) {
        return warnLogDao.countBy(appId,warnType,dateTime);
    }

}
